

{include file='common/header'}
<!--main-->
<div class="container">
    <div class="row">
        <!--推荐影视-->
        <div class="hy-layout clearfix">
            <div class="hy-video-head">
                <h3 class="margin-0"><i class="icon iconfont icon-update text-color"></i> 推荐影视</h3>
                <ul class="pull-right">
                    <li class="active"><a href="/top.html" class="text-muted" title="排行榜">排行榜 <i
                            class="icon iconfont icon-right"></i></a></li>
                </ul>
            </div>
            <div class="clearfix">
                <div class="hy-video-list cleafix">
                    <div class="item">

                        {foreach $hotMovies as $k=>$v}
                        <div class="col-md-2 col-sm-3 col-xs-4 ">
                            <a class="videopic lazy" href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}"
                               data-original="{$v.poster}"
                               style="background: url(/index/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover;"><span
                                    class="play hidden-xs"></span><span class="score">{$v.grade}</span><span
                                    class="note textbg">{$v.resolution}</span></a>
                            <div class="title">
                                <h5 class="text-overflow"><a href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}">{$v.title}</a>
                                </h5>
                            </div>
                            <div class="subtitle text-muted text-muted text-overflow hidden-xs">
                                {$v.actors}
                            </div>
                        </div>
                        {/foreach}
                    </div>
                </div>
                <div class="hy-video-text-list hidden-xs clearfix">
                    <div class="item">
                        <!--<ul class="clearfix">-->
                        <!--<li>-->
                        <!--<div class="title text-overflow">-->
                        <!--<a href="/tv/dalu/61324/" title="九州缥缈录"><span class="pull-right"><i-->
                        <!--class="icon iconfont icon-right text-muted"></i></span>九州缥缈录</a>-->
                        <!--</div>-->
                        <!--</li>-->
                        <!--<li>-->
                        <!--<div class="title text-overflow">-->
                        <!--<a href="/tv/dalu/64160/" title="七月与安生2019"><span class="pull-right"><i-->
                        <!--class="icon iconfont icon-right text-muted"></i></span>七月与安生2019</a>-->
                        <!--</div>-->
                        <!--</li>-->


                        <!--</ul>-->
                    </div>
                </div>
            </div>
            <div class="hy-video-footer visible-xs clearfix">
                <a href="/new.html" class="text-muted" title="查看更多">查看更多 <i
                        class="icon iconfont icon-right pull-right"></i></a>
            </div>
        </div>
        <!--end 推荐影视-->
        <!--电影/电视剧 -->
        <div class="hy-layout clearfix">
            <div class="hy-video-head">
                <h3 class="margin-0"><i class="icon iconfont icon-film text-color"></i> 电影</h3>
            </div>
            <div class="clearfix">
                <div class="col-md-5 col-sm-12 col-xs-12 padding-0">
                    <div class="clearfix">
                        <div class="col-xs-12 padding-0">
                            <div class="hy-index-tags active hidden-md clearfix">
                                <div class="item">
                                    <ul class="clearfix">
                                        {foreach $types as $v}
                                        <li><a class="text-overflow" href="{:url('index/movie')}?movie_type={$v.id}">{$v.type_name}片</a></li>
                                       {/foreach}

                                        {foreach $regions as $v}
                                        <li>
                                            <a class="text-overflow" href="{:url('index/movie')}?region_id={$v.id}">{$v.region_name}电影</a>
                                        </li>
                                        {/foreach}
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="hidden-sm hidden-xs clearfix">
                        <div class="hy-video-min-head">
                            <a href="/top.html#list-1" class="pull-right text-muted" title="查看更多">更多 <i
                                    class="icon iconfont icon-right"></i></a>
                            <h4><i class="icon iconfont icon-top text-color"></i> 电影排行榜</h4>
                        </div>
                        <div class="clearfix">
                            <div class="col-lg-4 col-md-4">
                                <div class="hy-video-list">
                                    <div class="item">
                                        {if  !empty($newMovies[0])}
                                        <a class="videopic lazy" href="{:url('/details',['movie_id'=>$newMovies[0]['id']])}" title="{$newMovies[0]['title']}"
                                           data-original="{$newMovies[0]['poster']}"
                                           style="background: url(/index/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover; padding-top:120%;height:168px;width:120px; margin-bottom:10px;">
                                            <span class="play hidden-xs"></span>
                                            <span class="note textbg">{$newMovies[0]['resolution']}</span>
                                            {php}unset($newMovies[0]);{/php}
                                        </a>
                                        {/if}

                                        {if  !empty($newMovies[1])}
                                        <a class="videopic lazy" href="{:url('/details',['movie_id'=>$newMovies[1]['id']])}" title="{$newMovies[1]['title']}"
                                           data-original="{$newMovies[1]['poster']}"
                                           style="background: url(/index/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover; padding-top:120%;height:168px;width:120px; margin-bottom:10px;">
                                            <span class="play hidden-xs"></span>
                                            <span class="note textbg">{$newMovies[1]['resolution']}</span>
                                        </a>
                                        {php}unset($newMovies[1]);{/php}
                                        {/if}


                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-8 col-md-8 padding-0">
                                <div class="hy-video-ranking clearfix" style="padding:0 10px 10px;">
                                    <div class="item">
                                        <ul class="clearfix">
                                            {foreach $tops as $k=>$v}
                                            <li class="text-overflow "><span
                                                    class="pull-right text-color">{$v.create_time|date='m-d'}</span><a
                                                    href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}"><em class="number {if $k<3}active{/if}">{$k+1}</em>{$v.title}</a>
                                            </li>

                                            {/foreach}
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-7 col-sm-12 col-xs-12 padding-0">
                    <div class="hy-video-list clearfix">
                        <div class="item clearfix">
                            {foreach $newMovies as $v}
                            <!--<div class="col-md-3 col-sm-3 col-xs-4 ">-->
                                <!--<a class="videopic lazy" href="/dy/juqing/62327/" title="最好的我们电影版"-->
                                   <!--data-original="https://tva1.sinaimg.cn/bmiddle/692843begy1g4a22mwogyj207c0ahq34.jpg"-->
                                   <!--style="background: url(/index/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover;"><span-->
                                        <!--class="play hidden-xs"></span><span class="score">4.7</span><span-->
                                        <!--class="note textbg">HD1080P中字</span></a>-->
                                <!--<div class="title">-->
                                    <!--<h5 class="text-overflow"><a href="/dy/juqing/62327/" title="最好的我们电影版">最好的我们电影版</a>-->
                                    <!--</h5>-->
                                <!--</div>-->
                                <!--<div class="subtitle text-muted text-muted text-overflow hidden-xs">-->
                                   <!--{}-->
                                <!--</div>-->
                            <!--</div>-->
                            <div class="col-md-3 col-sm-3 col-xs-4 ">
                                <a class="videopic lazy" href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}"
                                   data-original="{$v.poster}"
                                   style="background: url(/index/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover;"><span
                                        class="play hidden-xs"></span><span class="score">{$v.grade}</span><span
                                        class="note textbg">{$v.resolution}</span></a>
                                <div class="title">
                                    <h5 class="text-overflow"><a href="{:url('/details',['movie_id'=>$v['id']])}" title="{$v.title}">{$v.title}</a>
                                    </h5>
                                </div>
                                <div class="subtitle text-muted text-muted text-overflow hidden-xs">
                                    {$v.actors}
                                </div>
                            </div>
                            {/foreach}

                        </div>
                    </div>
                </div>
            </div>
            <div class="hy-video-footer visible-xs clearfix">
                <a href="/dy/index.html" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a>
            </div>
        </div>

    </div>
</div>
<script>
    var swiper = new Swiper('.hy-slide', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        autoplay: 3000,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
    });
</script>

{include file='common/foot'}